import pytest

from selenium import webdriver

from hc_excel_test.keywords import Keywords


@pytest.fixture(scope='session')
def driver():
    global driver
    driver = webdriver.Chrome()
    driver.maximize_window()
    yield driver
    driver.quit()


@pytest.fixture(scope='session')
def keywords(driver):
    return Keywords(driver)
